import Vue from 'vue'
import Vuex from 'vuex'

import actions from "./actions";
import {state,getters,mutations} from "./mutations";
import cate from "./modules/cate"
import specs from "./modules/specs"
import goods from "./modules/good"

Vue.use(Vuex)

export default new Vuex.Store({
  state,
  getters,
  mutations,
  actions,
  modules: {
    cate,specs,goods
  }
})
